package com.shuoyue.ycgk.base;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import okhttp3.MediaType;
import okhttp3.RequestBody;

public class BaseModel {
    protected Gson gson;

    public BaseModel() {
        gson = new

                GsonBuilder().

                setDateFormat("yyyy-MM-dd HH:ss:mm").

                create();
    }
    public RequestBody createRequestBody(String param){
        return   RequestBody.create(MediaType.parse("application/json"),param );
    }
}
